<%--
  Created by IntelliJ IDEA.
  User: 86176
  Date: 2024/10/30
  Time: 22:43
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>注册</title>
    <style>
        .center{
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
        }
        #box1{
            background-image: url("./image/book.png");
            background-repeat: no-repeat;
            background-size: cover;
        }
        .div5{
            background-color: aliceblue;
            width: 40px;
            height: 30px;
        }
    </style>
</head>
<body>
<div class="center" id="box1" >
<form action="/register" method="post" enctype="multipart/form-data">
    <h1>${msgs}</h1>
    <table class="div5">
        <tr>
            <td>用户名</td>
            <td><input type="text" name="username"></td>
        </tr>
        <tr>
            <td>密码</td>
            <td><input type="password" name="password"></td>
        </tr>
        <tr>
            <td>请上传头像
                <input type="file" name="headImg"></td>
        </tr>
        <tr>
            <td align="center">
                <input type="submit" value="提交">
            </td>
        </tr>

    </table>
</form>
</div>
</body>
</html>
